package com.tspark.tspark1.zoo.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "regex")
@Data
public class RegexProperties {
    /**
     *  正则表达式匹配属性 配置在yml里
     */
    private String usernameRegex;
    private String passwordRegex;
}
